page{
    background-color: rgb(250, 235, 237);
}
.letters{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: calc(100vw - 40rpx);
    box-sizing: border-box;
    margin: 20rpx;
    background-color: #FFF;
    min-height: 520px;
    border-radius: 4rpx;
    border: 1px solid #D9D9D9;
    color: #666;
    padding: 10rpx 20rpx;
    overflow: hidden;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    transition: all .5s cubic-bezier(.57, .17, .24, .96);
    &::before{
        content: '';
        background-image: url('https://love-1300086122.file.myqcloud.com/bg/flower.png');
        background-size: 100% 100%;
        z-index: 2;
        height: 215rpx;
        width: 160rpx;
        position: absolute;
        left: -20rpx;
        top: -30rpx;
    }
    .title{
        width: 100%;
        height: 96rpx;
        font-size: 36rpx;
        border-bottom: 1px solid #D9D9D9;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 4rpx;
    }
    .main{
        flex: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        font-size: 30rpx;
        .to{
            color: #FF9B91;
            align-self: flex-start;
        }
        .content{
            flex: 1;
        }
        .from{
            color: #FF9B91;
            align-self: flex-end;
            margin-bottom: 20rpx;
        }
    }
    .letter-tag{
        background-image: url('https://love-1300086122.file.myqcloud.com/bg/envelope.png');
        background-size: 100% 100%;
        height: 200px;
        position: absolute;
        margin: 0 20rpx;
        left: -10px;
        right: -10px;
        bottom: 0;
        transition: all .6s;
        transition-delay: .3s;
    }
}
.letter_content_main_letter_full{
    background-color: #FFF;
    top: 0%;
    min-height: calc(100vh - 40rpx);
    transform: translateY(0%);
    .letter-tag{
        transform: translateY(200%);
    }
}
